package com.portal.portal.config;

import java.util.HashSet;
import java.util.Set;

public class DriverResourceConfig {

  private String portalName;

  private String portalVersion;

  private String containerName;

  private Set<String> supportedPortletModes = new HashSet<String>();

  private Set<String> supportedWindowStates = new HashSet<String>();

  private DriverRenderConfig driverRenderConfig;

  public String getPortalName() {
    return portalName;
  }

  public void setPortalName(String portalName) {
    this.portalName = portalName;
  }

  public String getPortalVersion() {
    return portalVersion;
  }

  public void setPortalVersion(String portalVersion) {
    this.portalVersion = portalVersion;
  }

  public String getContainerName() {
    return containerName;
  }

  public void setContainerName(String containerName) {
    this.containerName = containerName;
  }

  public Set<String> getSupportedPortletModes() {
    return supportedPortletModes;
  }

  public void setSupportedPortletModes(Set<String> supportedPortletModes) {
    this.supportedPortletModes = supportedPortletModes;
  }

  public void addSupportedPortletMode(String mode) {
    supportedPortletModes.add(mode);
  }

  public Set<String> getSupportedWindowStates() {
    return supportedWindowStates;
  }

  public void setSupportedWindowStates(Set<String> supportedWindowStates) {
    this.supportedWindowStates = supportedWindowStates;
  }

  public void addSupportedWindowState(String state) {
    this.supportedWindowStates.add(state);
  }

  public DriverRenderConfig getDriverRenderConfig() {
    return driverRenderConfig;
  }

  public void setDriverRenderConfig(DriverRenderConfig renderConfig) {
    this.driverRenderConfig = renderConfig;
  }

}
